<?php
define('DEBUG', 'on');
define('WEBPATH', __DIR__);
define('ROOT_PATH', dirname(__DIR__));

require dirname(__DIR__) . '/vendor/autoload.php';

Swoole\Loader::vendorInit();
Swoole::$php->config->setPath(ROOT_PATH . '/configs');
Swoole::$php->runMVC();